<form id="department_edit" class="form-horizontal" action="{:U('User/department_edit')}" method="Post">
	<input type="hidden" name="department_id" value="{$vo.department_id}"/>
	<div class="control-group">
		<label class="control-label" for="name">{:L('DEPARTMENT_NAME')}</label>  
		<div class="controls">
			<input class="text-input large-input" type="text" name="name" value="{$vo.name}"/>
		</div>
	</div>	
	<div class="control-group">
		<label class="control-label" for="name">{:L('SUPERIORS_DEPARTMENT')}</label>  
		<div class="controls">
			<select name="parent_id">
				<option value="0">{:L('THE_TOP_DEPARTMENT')}</option>
				<volist name="departmentList" id="temp">
				<option <if condition="$vo['parent_id'] eq $temp['department_id']">selected</if> value="{$temp.department_id}">{$temp.name}</option>
				</volist>
			</select>
		</div>
	</div>	
	<div class="control-group">
		<label class="control-label" for="">{:L('DEPARTMENT_DESCRIPTION')}</label>  
		<div class="controls">
			<textarea name="description">{$vo.description}</textarea>
		</div>
	</div>
</form>